[INFO] cloning repository https://github.com/mokua/crust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mokua/crust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmokua%2Fcrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmokua%2Fcrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a4d06650c2d4a53ea14f8679fbb700e98cce9454
[INFO] building mokua/crust against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmokua%2Fcrust" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mokua/crust on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-6/source/.cargo/config
[INFO] started tweaking git repo https://github.com/mokua/crust
[INFO] finished tweaking git repo https://github.com/mokua/crust
[INFO] tweaked toml for git repo https://github.com/mokua/crust written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/mokua/crust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.8
[INFO] [stderr]   Downloaded serde v1.0.120
[INFO] [stderr]   Downloaded serde_json v1.0.61
[INFO] [stderr]   Downloaded cc v1.0.66
[INFO] [stderr]   Downloaded nix v0.19.1
[INFO] [stderr]   Downloaded errno v0.2.7
[INFO] [stderr]   Downloaded once_cell v1.5.2
[INFO] [stderr]   Downloaded thiserror-impl v1.0.23
[INFO] [stderr]   Downloaded thiserror v1.0.23
[INFO] [stderr]   Downloaded serde_derive v1.0.120
[INFO] [stderr]   Downloaded gcc v0.3.55
[INFO] [stderr]   Downloaded errno-dragonfly v0.1.1
[INFO] [stderr]   Downloaded flexi_logger v0.17.1
[INFO] [stderr]   Downloaded seccomp-sys v0.1.3
[INFO] [stderr]   Downloaded syn v1.0.58
[INFO] [stderr]   Downloaded libc v0.2.82
[INFO] [stderr]   Downloaded caps v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 177537c8034fc7245209aaedd540061a0e47bae211c51f3543e13e1c34a1cf88
[INFO] running `Command { std: "docker" "start" "-a" "177537c8034fc7245209aaedd540061a0e47bae211c51f3543e13e1c34a1cf88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "177537c8034fc7245209aaedd540061a0e47bae211c51f3543e13e1c34a1cf88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "177537c8034fc7245209aaedd540061a0e47bae211c51f3543e13e1c34a1cf88", kill_on_drop: false }`
[INFO] [stdout] 177537c8034fc7245209aaedd540061a0e47bae211c51f3543e13e1c34a1cf88
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78a29361351ec5127c2f0c28f1d96bebbcbde14d991b53921ba1a5c5d5cb4f42
[INFO] running `Command { std: "docker" "start" "-a" "78a29361351ec5127c2f0c28f1d96bebbcbde14d991b53921ba1a5c5d5cb4f42", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.58
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.120
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.120
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling serde_json v1.0.61
[INFO] [stderr]    Compiling seccomp-sys v0.1.3
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling yansi v0.5.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling errno v0.2.7
[INFO] [stderr]    Compiling nix v0.19.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling thiserror v1.0.23
[INFO] [stderr]    Compiling caps v0.5.0
[INFO] [stderr]    Compiling flexi_logger v0.17.1
[INFO] [stderr]    Compiling crust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `caps::errors::CapsError`
[INFO] [stdout]  --> src/caps.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use caps::errors::CapsError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc::prctl`
[INFO] [stdout]  --> src/caps.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use libc::prctl;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error`
[INFO] [stdout]  --> src/caps.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/dev.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/mount.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use nix::{Error, NixPath};
[INFO] [stdout]   |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/mount.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::BitAnd`
[INFO] [stdout]  --> src/mount.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::BitAnd;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LevelFilter`, `LogSpecification`, `Logger`
[INFO] [stdout]  --> src/mount.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use flexi_logger::{LevelFilter, LogSpecification, Logger};
[INFO] [stdout]   |                    ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OFlag`, `open`, `openat`
[INFO] [stdout]   --> src/mount.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use nix::fcntl::{open, openat, OFlag};
[INFO] [stdout]    |                  ^^^^  ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/mount.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |       ///1. check if the root & mounts are set
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 | /     if spec.root.is_none() || spec.mounts.is_none() {
[INFO] [stdout] 21 | |         info!("no work todo, both root & mount is None ");
[INFO] [stdout] 22 | |         return;
[INFO] [stdout] 23 | |     }
[INFO] [stdout]    | |_____- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/mount.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | /     ///2. Ensure that 'new_root' and its parent mount don't have
[INFO] [stdout] 25 | |     /// shared propagation (which would cause pivot_root() to
[INFO] [stdout] 26 | |     /// return an error), and prevent propagation of mount
[INFO] [stdout] 27 | |     /// events to the initial mount namespace
[INFO] [stdout]    | |_____________________________________________^
[INFO] [stdout] 28 |       //if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, NULL) == -1)
[INFO] [stdout] 29 |       let root = b"/".as_ref();
[INFO] [stdout]    |       ------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/mount.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | /     /// 3. Ensure that 'rootfs' is a mount point
[INFO] [stdout] 44 | |     /// if (mount(new_root, new_root, NULL, MS_BIND, NULL) == -1)
[INFO] [stdout]    | |_________________________________________________________________^
[INFO] [stdout] 45 |       let x = spec.root.as_ref().unwrap();
[INFO] [stdout]    |       ------------------------------------ rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/mount.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     ///4. Create directory to which old root will be pivoted; it must be under the new root
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 61 |     let rp = std::str::from_utf8(rootfs_path).unwrap();
[INFO] [stdout]    |     --------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/mount.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     ///5.  And pivot the root filesystem
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     let result = nix::unistd::pivot_root(rootfs_path, put_old_path);
[INFO] [stdout]    |     ---------------------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/mount.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 82 |     ///6.Switch the current working directory to "/"
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 83 |     //if (chdir("/") == -1)
[INFO] [stdout] 84 |     let result = chdir("/");
[INFO] [stdout]    |     ------------------------ rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/mount.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     ///7.Unmount old root and remove mount point
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 91 |     //umount2(put_old, MNT_DETACH)
[INFO] [stdout] 92 |     let put_old_dir = put_old_name.as_bytes();
[INFO] [stdout]    |     ------------------------------------------ rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `main`
[INFO] [stdout]  --> src/resources.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{main, ChildConfig};
[INFO] [stdout]   |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/resources.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Error`
[INFO] [stdout]  --> src/resources.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Display`
[INFO] [stdout]  --> src/resources.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::Display;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seccomp_sys::scmp_compare`
[INFO] [stdout]  --> src/spec.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use seccomp_sys::scmp_compare;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seccomp_sys::scmp_compare::SCMP_CMP_NE`
[INFO] [stdout]  --> src/spec.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use seccomp_sys::scmp_compare::SCMP_CMP_NE;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nix::sys::socket::SockFlag`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use nix::sys::socket::SockFlag;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AddressFamily`, `SockType`, `socketpair`
[INFO] [stdout]   --> src/main.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | use nix::sys::socket::{socketpair, AddressFamily, SockType};
[INFO] [stdout]    |                        ^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ForkResult`, `execvp`, `fork`, `gethostname`
[INFO] [stdout]   --> src/main.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 | use nix::unistd::{execve, execvp, fork, gethostname, pipe, sethostname, ForkResult, Pid, Uid};
[INFO] [stdout]    |                           ^^^^^^  ^^^^  ^^^^^^^^^^^                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::cmp::min;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Command`, `ExitStatus`, `Stdio`
[INFO] [stdout]   --> src/main.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::process::{exit, Command, ExitStatus, Stdio};
[INFO] [stdout]    |                          ^^^^^^^  ^^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io`, `process`, `time`
[INFO] [stdout]   --> src/main.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::{fs, io, process, thread, time};
[INFO] [stdout]    |               ^^  ^^^^^^^          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arch`, `LinuxSeccompArg`, `Process`
[INFO] [stdout]   --> src/main.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::spec::{Arch, LinuxSeccomp, LinuxSeccompAction, LinuxSeccompArg, Process, Spec};
[INFO] [stdout]    |                   ^^^^                                    ^^^^^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nix::errno::Errno::EPERM`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use nix::errno::Errno::EPERM;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error`, `sched`
[INFO] [stdout]   --> src/main.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | use nix::{sched, Error};
[INFO] [stdout]    |           ^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `seccomp_sys::scmp_arch::SCMP_ARCH_NATIVE`
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use seccomp_sys::scmp_arch::SCMP_ARCH_NATIVE;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `scmp_compare`
[INFO] [stdout]   --> src/main.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     scmp_compare, seccomp_arch_add, seccomp_attr_set, seccomp_init, seccomp_load, seccomp_release,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::raw::c_int`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use std::os::raw::c_int;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::io::IntoRawFd`
[INFO] [stdout]   --> src/main.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use std::os::unix::io::IntoRawFd;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> src/main.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:286:5
[INFO] [stdout]     |
[INFO] [stdout] 286 |     ///* Execute a shell command */
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations
[INFO] [stdout]     |
[INFO] [stdout]     = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]    --> src/main.rs:399:13
[INFO] [stdout]     |
[INFO] [stdout] 399 | /             ///-EDOM  Architecture specific failure.
[INFO] [stdout] 400 | |             //
[INFO] [stdout] 401 | |             ///-EEXIST
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 412 | /             if result != 0 && result != -libc::EEXIST {
[INFO] [stdout] 413 | |                 info!("seccomp adding architecture failed!, result {} ", result);
[INFO] [stdout] 414 | |                 seccomp_release(ctx);
[INFO] [stdout] 415 | |                 return;
[INFO] [stdout] 416 | |             }
[INFO] [stdout]     | |_____________- rustdoc does not generate documentation for expressions
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NixPath`
[INFO] [stdout]  --> src/mount.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use nix::{Error, NixPath};
[INFO] [stdout]   |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/mount.rs:133:27
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let (mount_flags, options) = match &mount.mount_options {
[INFO] [stdout]     |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label_houw`
[INFO] [stdout]    --> src/mount.rs:220:17
[INFO] [stdout]     |
[INFO] [stdout] 220 |             let label_houw = match mount.mount_type.as_ref().unwrap().as_str() {
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_label_houw`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source`
[INFO] [stdout]    --> src/mount.rs:236:9
[INFO] [stdout]     |
[INFO] [stdout] 236 |     let source = mount.source.as_ref().unwrap().as_bytes();
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/resources.rs:564:30
[INFO] [stdout]     |
[INFO] [stdout] 564 |     fn visit_pids(&mut self, s: &LinuxPids) -> String {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/resources.rs:568:32
[INFO] [stdout]     |
[INFO] [stdout] 568 |     fn visit_memory(&mut self, e: &LinuxMemory) -> String {
[INFO] [stdout]     |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/resources.rs:572:30
[INFO] [stdout]     |
[INFO] [stdout] 572 |     fn visit_rdma(&mut self, e: &LinuxRdma) -> String {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/resources.rs:576:32
[INFO] [stdout]     |
[INFO] [stdout] 576 |     fn visit_cpuset(&mut self, e: &LinuxCPUSet) -> String {
[INFO] [stdout]     |                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/resources.rs:580:28
[INFO] [stdout]     |
[INFO] [stdout] 580 |     fn visit_io(&mut self, e: &LinuxBlockIO) -> String {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/resources.rs:584:34
[INFO] [stdout]     |
[INFO] [stdout] 584 |     fn visit_hugepage(&mut self, e: &LinuxHugepageLimits) -> String {
[INFO] [stdout]     |                                  ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cgroup_subsystems`
[INFO] [stdout]    --> src/resources.rs:615:13
[INFO] [stdout]     |
[INFO] [stdout] 615 |         let cgroup_subsystems = vec![
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cgroup_subsystems`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]    --> src/resources.rs:677:18
[INFO] [stdout]     |
[INFO] [stdout] 677 |             Some(m) => buffer.push_str("+memory"),
[INFO] [stdout]     |                  ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpu`
[INFO] [stdout]    --> src/resources.rs:681:18
[INFO] [stdout]     |
[INFO] [stdout] 681 |             Some(cpu) => buffer.push_str(" +cpu"),
[INFO] [stdout]     |                  ^^^ help: if this is intentional, prefix it with an underscore: `_cpu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cpuset`
[INFO] [stdout]    --> src/resources.rs:685:18
[INFO] [stdout]     |
[INFO] [stdout] 685 |             Some(cpuset) => buffer.push_str(" +cpuset"),
[INFO] [stdout]     |                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpuset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pids`
[INFO] [stdout]    --> src/resources.rs:690:18
[INFO] [stdout]     |
[INFO] [stdout] 690 |             Some(pids) => buffer.push_str(" +pids"),
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_pids`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hugetlb`
[INFO] [stdout]    --> src/resources.rs:695:18
[INFO] [stdout]     |
[INFO] [stdout] 695 |             Some(hugetlb) => buffer.push_str(" +hugetlb"),
[INFO] [stdout]     |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hugetlb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rdma`
[INFO] [stdout]    --> src/resources.rs:700:18
[INFO] [stdout]     |
[INFO] [stdout] 700 |             Some(rdma) => buffer.push_str(" +rdma"),
[INFO] [stdout]     |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_rdma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]    --> src/spec.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let buffer = String::new();
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `architecture`
[INFO] [stdout]    --> src/main.rs:393:13
[INFO] [stdout]     |
[INFO] [stdout] 393 |         for architecture in architectures {
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_architecture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `errno_ret`
[INFO] [stdout]    --> src/main.rs:421:17
[INFO] [stdout]     |
[INFO] [stdout] 421 |             let errno_ret = syscall.errno_ret.unwrap_or(libc::EPERM);
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_errno_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `argc`, `uid`, `fd`, `argv` and `mount_dir` are never read
[INFO] [stdout]   --> src/main.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct ChildConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 46 |     argc: u8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 47 |     uid: Uid,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 48 |     fd: u8,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 49 |     host_name: &'static str,
[INFO] [stdout] 50 |     argv: Vec<&'static str>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 51 |     mount_dir: &'static str,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_running_in_user_namespace` is never used
[INFO] [stdout]    --> src/dev.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn check_running_in_user_namespace() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/resources.rs:526:12
[INFO] [stdout]     |
[INFO] [stdout] 526 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:295:5
[INFO] [stdout]     |
[INFO] [stdout] 295 |     execve(&CString::new("/bin/bash").unwrap().as_c_str(), args, env);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:310:5
[INFO] [stdout]     |
[INFO] [stdout] 310 |     writeln!(&mut buffer, "0\t{}\t1", child_pid.as_raw());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:324:5
[INFO] [stdout]     |
[INFO] [stdout] 324 |     writeln!(&mut buffer, "deny");
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:337:5
[INFO] [stdout]     |
[INFO] [stdout] 337 |     writeln!(&mut buffer, "0\t{}\t1", child_pid.as_raw());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `put_old_name` should have an upper case name
[INFO] [stdout]   --> src/mount.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const put_old_name: &str = "oldrootfs";
[INFO] [stdout]    |       ^^^^^^^^^^^^ help: convert the identifier to upper case: `PUT_OLD_NAME`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `cpuSet` should have a snake case name
[INFO] [stdout]   --> src/resources.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     cpuSet: Option<LinuxCPUSet>,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to snake case: `cpu_set`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `blockIO` should have a snake case name
[INFO] [stdout]   --> src/resources.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     blockIO: Option<LinuxBlockIO>,
[INFO] [stdout]    |     ^^^^^^^ help: convert the identifier to snake case: `block_io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `hugepageLimits` should have a snake case name
[INFO] [stdout]   --> src/resources.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     hugepageLimits: Option<LinuxHugepageLimits>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `hugepage_limits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `hugepageLimits` should have a snake case name
[INFO] [stdout]   --> src/resources.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 |     hugepageLimits: Option<Vec<LinuxHugepageLimit>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `hugepage_limits`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:330:9
[INFO] [stdout]     |
[INFO] [stdout] 330 | /         fs::write(
[INFO] [stdout] 331 | |             format!("{}/pids.max", self.child_directory),
[INFO] [stdout] 332 | |             s.pids_max.to_string(),
[INFO] [stdout] 333 | |         );
[INFO] [stdout]     | |__________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:393:17
[INFO] [stdout]     |
[INFO] [stdout] 393 |                 writeln!(&mut buffer, "{}", rdma_entry.to_string());
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:424:9
[INFO] [stdout]     |
[INFO] [stdout] 424 | /         match e.default_weight {
[INFO] [stdout] 425 | |             None => writeln!(&mut buffer, "{}", "default 100"),
[INFO] [stdout] 426 | |             Some(def) => writeln!(&mut buffer, "default {}", def),
[INFO] [stdout] 427 | |         };
[INFO] [stdout]     | |__________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:429:13
[INFO] [stdout]     |
[INFO] [stdout] 429 | /             writeln!(
[INFO] [stdout] 430 | |                 &mut buffer,
[INFO] [stdout] 431 | |                 "{}:{}\t{}",
[INFO] [stdout] 432 | |                 weight.device.major, weight.device.minor, weight.weight
[INFO] [stdout] 433 | |             );
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:435:9
[INFO] [stdout]     |
[INFO] [stdout] 435 |         fs::write(format!("{}/io.weight", self.child_directory), buffer);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:441:13
[INFO] [stdout]     |
[INFO] [stdout] 441 | /             write!(
[INFO] [stdout] 442 | |                 &mut buffer,
[INFO] [stdout] 443 | |                 "{}:{}\t",
[INFO] [stdout] 444 | |                 io_limit.device.major, io_limit.device.minor,
[INFO] [stdout] 445 | |             );
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:449:21
[INFO] [stdout]     |
[INFO] [stdout] 449 |                     write!(&mut buffer, "rbps={}\t", rbps);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:455:21
[INFO] [stdout]     |
[INFO] [stdout] 455 |                     write!(&mut buffer, "wbps={}\t", wbps);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:462:21
[INFO] [stdout]     |
[INFO] [stdout] 462 |                     write!(&mut buffer, "riops={}\t", riops);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:469:21
[INFO] [stdout]     |
[INFO] [stdout] 469 |                     write!(&mut buffer, "wiops={}\t", wiops);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:473:13
[INFO] [stdout]     |
[INFO] [stdout] 473 |             writeln!(&mut buffer);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `$crate::write` which comes from the expansion of the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:475:9
[INFO] [stdout]     |
[INFO] [stdout] 475 |         fs::write(format!("{}/io.max", self.child_directory), buffer);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/resources.rs:487:13
[INFO] [stdout]     |
[INFO] [stdout] 487 | /             match hugetlb.max {
[INFO] [stdout] 488 | |                 None => fs::write(
[INFO] [stdout] 489 | |                     format!(
[INFO] [stdout] 490 | |                         "{}/hugetlb.{}.max",
[INFO] [stdout] ...   |
[INFO] [stdout] 501 | |                 ),
[INFO] [stdout] 502 | |             };
[INFO] [stdout]     | |______________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/resources.rs:509:9
[INFO] [stdout]     |
[INFO] [stdout] 509 |         &e.cpu.as_ref().map(|cpu| self.visit_cpu(&cpu));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 509 |         let _ = &e.cpu.as_ref().map(|cpu| self.visit_cpu(&cpu));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/resources.rs:510:9
[INFO] [stdout]     |
[INFO] [stdout] 510 |         &e.memory.as_ref().map(|memory| self.visit_memory(&memory));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 510 |         let _ = &e.memory.as_ref().map(|memory| self.visit_memory(&memory));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/resources.rs:511:9
[INFO] [stdout]     |
[INFO] [stdout] 511 |         &e.pids.as_ref().map(|pids| self.visit_pids(&pids));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 511 |         let _ = &e.pids.as_ref().map(|pids| self.visit_pids(&pids));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/resources.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 512 |         &e.cpuSet.as_ref().map(|cpuset| self.visit_cpuset(&cpuset));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 512 |         let _ = &e.cpuSet.as_ref().map(|cpuset| self.visit_cpuset(&cpuset));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/resources.rs:513:9
[INFO] [stdout]     |
[INFO] [stdout] 513 |         &e.rdma.as_ref().map(|rdma| self.visit_rdma(&rdma));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 513 |         let _ = &e.rdma.as_ref().map(|rdma| self.visit_rdma(&rdma));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/resources.rs:514:9
[INFO] [stdout]     |
[INFO] [stdout] 514 | /         &e.hugepageLimits
[INFO] [stdout] 515 | |             .as_ref()
[INFO] [stdout] 516 | |             .map(|hugetlb| self.visit_hugepage(&hugetlb));
[INFO] [stdout]     | |_________________________________________________________^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 514 |         let _ = &e.hugepageLimits
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/resources.rs:517:9
[INFO] [stdout]     |
[INFO] [stdout] 517 |         &e.blockIO.as_ref().map(|io| self.visit_io(&io));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 517 |         let _ = &e.blockIO.as_ref().map(|io| self.visit_io(&io));
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcXCffvB/symbols.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.crust.b7cc8a29-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/crust-167682448010a554.4dvamdykxnrxynas.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libserde_json-43a81c7da9ffd8b5.rlib" "/opt/rustwide/target/debug/deps/libryu-8c106c7dece5fbd0.rlib" "/opt/rustwide/target/debug/deps/libitoa-844153741323d3c4.rlib" "/opt/rustwide/target/debug/deps/libclap-5fcd2bcac89f5f26.rlib" "/opt/rustwide/target/debug/deps/libvec_map-dab3909866655c61.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-5fec79f426ca26e0.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-6da279cd4f865ec2.rlib" "/opt/rustwide/target/debug/deps/libstrsim-c0d73e3d44b574a0.rlib" "/opt/rustwide/target/debug/deps/libansi_term-76ca62e328105e50.rlib" "/opt/rustwide/target/debug/deps/libseccomp_sys-697f4a0b99b546fa.rlib" "/opt/rustwide/target/debug/deps/libserde-159fc33920e97f31.rlib" "/opt/rustwide/target/debug/deps/libcaps-a2d7bcf1300774ee.rlib" "/opt/rustwide/target/debug/deps/liberrno-bc85f1dd8b40c27a.rlib" "/opt/rustwide/target/debug/deps/libflexi_logger-c085429b0dd742fe.rlib" "/opt/rustwide/target/debug/deps/libglob-d3943553b96703d7.rlib" "/opt/rustwide/target/debug/deps/libatty-d6c87b9be126b829.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b33cd6b8ee13db74.rlib" "/opt/rustwide/target/debug/deps/libyansi-eb01c7ca8db72027.rlib" "/opt/rustwide/target/debug/deps/libregex-1cc9a0a99e5a72fd.rlib" "/opt/rustwide/target/debug/deps/libthread_local-e05963345208d086.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-051a5ed3f831a553.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-c9a4eac6b2db02cb.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-e24eefacc9736727.rlib" "/opt/rustwide/target/debug/deps/libmemchr-3db82c5a8ba2376a.rlib" "/opt/rustwide/target/debug/deps/libthiserror-a96591c52747fc8d.rlib" "/opt/rustwide/target/debug/deps/libchrono-f5a4699816b93944.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-fa24cc299d4212ca.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-70cf425f9cc9a314.rlib" "/opt/rustwide/target/debug/deps/libtime-5586c3665fdb704b.rlib" "/opt/rustwide/target/debug/deps/liblog-41607b4997ff699e.rlib" "/opt/rustwide/target/debug/deps/libnix-a7c7930167323662.rlib" "/opt/rustwide/target/debug/deps/libbitflags-6d05264d59b50f7f.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-90e3626e3c41eec3.rlib" "/opt/rustwide/target/debug/deps/liblibc-5ad8fc8395d57c64.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3dd5f78c3b43746e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e13cbb326bcd01a4.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-13ac6af5403a52c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a7b8febdd2acb289.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-343513f0726f71ed.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8f833d900bfb98aa.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e97a7960ca6216c8.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb8c561e8c8eb24d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a45121889bb564ec.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f943c2d34bd4b56d.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-72ce2aaa649404e0.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ac5d08ad5339e92e.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-dacfda262d5656fb.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e2056a834ba0712c.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a60649c148c6e2db.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3e961d059b9bcde7.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-20f26f875d0170e2.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-522518611024dce5.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-05898138a596088a.rlib" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-5b83a1df856cf582.rlib" "-Wl,-Bdynamic" "-lseccomp" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/a29f341a8ac4e9325a5e37027b4215f50a76d06f/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/crust-167682448010a554" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lseccomp
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 92 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `crust` due to 2 previous errors; 92 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "78a29361351ec5127c2f0c28f1d96bebbcbde14d991b53921ba1a5c5d5cb4f42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78a29361351ec5127c2f0c28f1d96bebbcbde14d991b53921ba1a5c5d5cb4f42", kill_on_drop: false }`
[INFO] [stdout] 78a29361351ec5127c2f0c28f1d96bebbcbde14d991b53921ba1a5c5d5cb4f42
